#先在 “新立得软件包管理器“  里面找到  libgtk2.0-dev 并安装
#安装成功，这两个命令检测应是对的
#pkg-config --cflags gtk+-2.0
#-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 

# pkg-config --libs gtk+-2.0
#-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  

#gtk_builder_connect_signals 需要这个选项
#On Linux and Unices, this is not necessary; applications should instead be compiled with the -Wl,--export-dynamic CFLAGS, and linked against gmodule-export-2.0. 


all:
	gcc -Wall  main.c -o relax_reminder `pkg-config --cflags gtk+-2.0`  `pkg-config --libs gtk+-2.0` `pkg-config --libs gmodule-2.0`

debug:
	gcc -Wall -g main.c -o relax_reminder `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0` `pkg-config --libs gmodule-2.0`

clean:
	rm relax_reminder
